package com.example.ktsb.service

import com.example.ktsb.entity.User
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable

interface UserService {

    fun addUser(user: User): User

    fun updateUser(user: User): User

    fun deleteUser(userId: Long)

    fun getUserByName(user: User): List<User>

    fun findUserList(user: User): List<User>

    fun findUserListByStatus(status: Int, pageable: Pageable): Page<User>
}